package com.ruoyi.biz.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.biz.model.req.BizWagesReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.biz.domain.BizWages;
import com.ruoyi.biz.model.resp.BizWagesResp;

/**
 * 工资条Mapper接口
 * 
 * @author tianl
 * @date 2025-01-06
 */
@Mapper
public interface BizWagesMapper extends BaseMapper<BizWages> {
    IPage<BizWagesResp> list(IPage page,@Param("model") BizWagesReq req);

    List<BizWagesResp> list(@Param("model") BizWagesReq req);
    List<BizWagesResp> listExcel(@Param("model") BizWagesReq req);
    BizWagesResp selectDetail(Long id);
    BizWages getByTimeUser(@Param("userId")Long userId,@Param("time")String time);
}
